package constructor.in.inheritance;

public class Person {
  int x=10;
  
  
	{
		System.out.println("person init"); //1
		
		
		
	}
	 public Person() {
	 this(3);
	 System.out.println("person default");//3
	 }
	public Person(int x) {
    System.out.println("in person parameterized constructor");//2
	}
	
	
	
	/*public void walk(){
		System.out.println("person walk method");
	}*/
}
